Assigning Aliases
Whenever you make an assembly request to Document Generation Services you need to provide the Content Identifier. The Destination Value is the long version of the Content Identifier. In order to make that simpler you can create an Alias which allows you to use the first part of the Original Value instead of the entire Destination Value.
- Original Value must end in “\.(.*)”
- Destination Value is in the following format
- Starts with “ expere://”
- An integer value for the Account ID [period separator]
- A string value for the name chosen when the library was deployed [period separator]
- An integer value for the version of the library chosen during deployment [period separator]
- A string value for the organization (AKA precedence) level to use from Organizations.xml which is part of the ZIP file used for the library. If the library only has one organization level defined, which is the case if you don’t have any custom content then this value will be “ORG.WoltersKluwerFinancialServices.Root”. If there are multiple organization levels defined then this value will be the name of the custom organization level you want to use.
- Must end in “.$1.”
- It is also possible to create an alias by going to the Manage Libraries tab, then choose the library to add an alias for, then choose Details and then choose the Add an Alias option.
- If you add the alias this way the Original value already contains the “\.(.*)” at the end, however, it is simpler if you remove the “expere://” from the beginning.
- The New Value needs to have the organization name added before the $1.
- Another option available through the Add an Alias functionality is to add a Pre-Render Translation.
- This allows you to create a stylesheet that will be applied to the transaction data before the documents are rendered. This could be useful for adding default data to a transaction or changing certain data, if desired.